Improve timing of button changes for slideshow controls