Don't throw JS errors if there's nothing to scroll

This was breaking on Travis - if there was no #end-scroll-track div, the scrolling-interactive script generated errors.