Add js to check when scrolled past index.