Fix error when no scroll indicator links are on page.

# Changes
 - Fixes an error on scroll event when no indicator links exist on page.