Avoid header/footer overlap on very short pages