Fix scroll-spy effect for top nav bar