Rewrite slider.