making the slider