Added code necessary to create new slideshow