if the slider is at the extremum, an update of slider range will keep it positioned at extremum