Fix mobile layout in Firefox and other non-webkit browsers.