Resolve #7: nearestPosition needed to account for min and max, but there is no possibility to drag the knob past min or max, and there is no danger of returning to a position outside that range.