trying(and failing) to make a slideshow