Added gesture recognition