update nav bar size