Fucther shorten the matchMedia logic so it fits on one line.