fix header resizing in some browsers

affected Safari 7
Was mentioned in #2