simons changes to game.js to fix viewport