Remove flicker in slideshow controls