Fixed bug with left-right button on mouse.
Fixed bug with building on existing building.
Added calc for cost of building and sub it from resources.
Fixed bug with scrolling on other browsers.