fixed slideshow clicking through images, but doesn't return to beginning after cycling through