Some more checks for scroll spy