Rewrite the slider