made the slider work