Limit the slideshow from looping all the way around