Making the slider work

Making the slider work