simplify the gesture plugin