Add onPreGesture and onPostGesture notify.