updates the header so the page doesn't slide around