Slideshow: screen flashes when transitioning