More improvement to gestures code
Removed incorrect edit