add two_finger_pan_release gesture & some refactorings in tap state