fix ios7 gesture support
Merge commit '9c3f3e9af944acd7f2e6e198b1135f86740e9dc6'