Changed the way pages are sized