Set affix to the nav bar