WP-3785: better implementation of slideshow arrows.