Fixing "scrollspy" function