dragging with revert issues. simplified without reverting