Adding gesture recognition