added initial slideshow code