Added boundaries to number dragging.