Need to refactor my code.
The carousel/slider is not moving to the complete end of the slides when i click on the right arrow. somewhere it stops at the initial end.