fixed dragging revert. Dragging no longer becomes inert upon revert
more reverting code