Fixed the resolution, adding zooming

Previous version was using the default canvas size of 300x150 because the style was ignored. Now setting size directly on the canvas element.
Adding support for zooming.