affix nav on window resize