working on the slider