Added a global variable flipScreen as a global threshold for when the screen should flip from horizontal to vertical mode and vice versa
New formulas for the map sizing and movement. Should scale nicer with windows with more extreme resolutions (very wide, or very thin)
Adjusted the distance the popup goes off to the left on when a building is deselected. Due to the addition of a minimum width, it was clipping onto the view when it shouldve been off the screen, so the distance off was changed from 33vw to 50vw.
Made a few changes with this PR.