fixes nav menu resizing