Distance,dragging and animation.