limit dragging to keep image within the crop