some improvements to manual resize row
TODO: to add some tests, #421