impose min/max on slider when dragging off it