Adds max height to header