clicking the image stops the slideshow