Add affix effect for translucent navbar on scroll