Modifying jQuery Parallax Slider for infinite scroll

Hi All,

I’m working with the following script Parallax Slider with jQuery | Codrops and am having trouble revising it. Currently, when the final image is called it will scroll ALL the way back to the initial image. I’m looking for an infinite scroll, where image 0 will simply slide in succession without returning back to the beginning.

I believe this is my issue:

		if(current >= total_elems)
			        current = 0;
				return false;

Thanks in advance!