Made header resize based on textual content