rearrange header next previous buttons