fix sliders for wikiamobile
(cherry-picked from 34f9a5e)