adds back the slideshow code