canvas: adjust scrollbars with window resizes and zooming