public static void EndDrag()
 {
     dragging = null;
     drag.EndedDrag();
     drag = null;
 }