set up grid
added grid toggle button