Correct the error when the value of the slider with no location is changed
Add style to the slider