update nav margins