restored scrollspy functionality