game stops when document loses focus [fixes #5]
viewport rezises to size of browser window [issue #6]