Better handling the limits of screen with header and footer.