attempt at creating a slideshow