periodically check if window's width or height changed. if changed, then resize game divs.
remove unnecessary parts of some css selectors
cleanup and uniformity pass