Fixed magellan destination undefined error

Problem:
Given a page that has magellan enabled
And the page has no magellan destinations defined
Then javascript throws an undefined error on the scroll event

Fix:
Added a check for destination value before the scroll event is handled
Merge pull request #1397 from EdCharbeneau/magellan-fix

Fixed magellan destination undefined error