change height of pages to match buttons