gesture recognition now working