A version of ColReorderWithResize to fix bugs and implement new features