refactor makediv
Change some widths and heights to ems so they scale better