improving the slideshow