w2ui #559 Fix for reordering columns when grid has hidden columns

Here is the fix for column reordering that I implemented for my own purposes. I hope it is useful.