rearrange header elements