scrollspy fix to work in firefox.