added back column adjusting function

Hi Roman,
The current view function is old, that is why it is not working correctly. 
I guess my changes were lost in the merge?