Fix support for layout on mobile browsers