Reduced canvas height to 500px.

Made the viewport absolutely positioned and fixed it to the margins.