Dragfix

The distance makes the dragging less sensitive. Comparing the original index to the new index fixes weird ordering.