canvas resizes with window.onresize