Move matchMedia/scroll pos checks to desktop only. Bug 894962.