#7060: fix in slider

When both handles were at the top of the slider, it was impossible to change them because upper handle was on top of lower