drawing a grid in the canvas and sizing it to the window size