Fixed bug with slideshow not starting