add in the new slideshow code