Initialize grid and set up off-canvas