switching grid inheritance to use Object.create, bugfix for grids losing their offset information when a neighboring tab is closed