resizing the headers better