maximize content height so footer is not in the middle of the screen