resolving multiple dragging scenario