Reduced canvas height to 500px. Made the viewport absolute and fixed to ...

...the margins.