making the slideshow works