Fixed scroll spy and added possibilities to pause and resume.