Fix syntax errors in App.js; update viewswitching to use matchMedia if supported, with fallbacks -- this fixes the scrollbar discrepancy in webkit browsers