Part of #186: decide whether grid is allowed based on a resource, not screen metrics.

This gives a consistent answer, where previously, a screen close to 600dip might have got different answers depending on orientation, I guess because the navigation bar is not included.