Update mobile layout for compatibility with Modernizr