debugging show slideshow and cutting it in different files