fixing scroll spy issue