set heights after header is appended to the body