add basic slideshow functionality