Move matchMedia/scroll pos checks to desktop only. Bug 894962.
Merge pull request #1084 from jpetto/bug-894962-fxos-viewport-bug

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