check the height of the header