In panGestureRecognized: added check of contentView's frame.origin.x not less than 0.