fix the slider positioning on dragging 

The slider had a problem when starting the dragging outside the "slider thumb".