Listen to "scroll" event and throttle callback executions instead of actively polling for changes to the scroll position. Fixes #1222.