add grid to the canvas