Add waving gesture recognition.