updating nav width