Adds panGestureShouldBegin block