Fix bug in setting the position of the slider when end is reached

There will be no change when noting is to change