Improved drag and drop in table, dont merge my previous commit

Improved drag and drop in table, dont merge my previous commit. Merge this one.