set min-height in the case for no pages.