remove most hard coded widths/heights and stuff that could be calculated instead