Added page_dimensions() to calculate page size based on screen size.