Computer min,max of slider range.