Almost got resizable/rescalable grid working, but not quite.