working scrollspy
split up js