add moved method to pathdraggable