Fixing nav resize issue on scroll