Question about menu code

Im useing the infinate menu code for an image on my website, but I was wondering how to set the code if I want the image to stop scrolling at a certain point or maybe just have the image keep looping so it starts over and doesnt end. any ideas? :trout: