Working with the slider