Format pages for mobile