When panel is anchored, set header right margin content during orientation change