scale based on maximum rows
Merge pull request #46 from dimagi/row_scaling

scale based on maximum rows