Implemented basic slideshow functionality