basic slideshow functionality working