getting slideshow to work