cbg/canvas: move some things out of resize()
cbg/canvas: move some things out of resize()

...specifically, things which only need to be done once.
...specifically, calculating the height of the container.

azdavis/azdavis.xyz