adding slideshow feature