Resolves some formatting issues for mobile devices.