stop redrawing the grid everytime