Sinusoidal Wrap

I want to rap a sinusoidal curve on cylinder. How to align coincident curve start and end points? 

SolidworksSketching