add gesture recognizer delegate method to fix issue #40
Merge pull request #41 from fawkeswei/upstream

add gesture recognizer delegate method to fix issue #40