gestures module improvements