hide grid/detailed toggles in gallery and collections landing pages for non-JS users