adjusts nav on change of window width