Fix slideshow transitions