added minimum height to pages