fixes #380: column reordering not working if pinning enabled
Merge pull request #760 from caphun/column-reordering-and-pinning

fixes #380 #241: column reordering not working if pinning enabled