init the gesture