refactor browser checking code, only use viewport meta tag when browser is mobile(allows forcing desktop view on mobile devices)