fix slideshow start in subdirectories