Delegated the touch event to the GestureDetector