update positioning of header