fix slideshow not showing up in safari