Fixed drag'n'drop resort behaviour

Fix for Issue #4