Dectect 3d gestures on mobile devices