Added an option to fit the screen to the browser

* Resizes the canvas to fit the browser