Slideshow functionality added