added getDirection() to CircleGesture, getType to Gesture, improved gesture cycle