I\'m working on a slideshow and made two buttons, "pre" and "next", for sliding elements left and right. I\'m trying to make this slideshow a loop so the