Improved the way pages are displayed on small screens