start of gesture recognition.