Fixed header issue

Involving how the header box would shape based on the size of the
window rather than the actual page