If window.matchMedia is used, this can be dropped.