fixed main toolbar header when resizing