relayout of rows