smart column repositioning