resizing of page layout