fixed a bug when invalidating layout scrolls to top
reomved getHeightOfCol func