only register scroll event handler if necessary (expensive in IE)
Merge pull request #44 from frohoff/conditional-scroll-event-handler

only register scroll event handler if necessary (expensive in IE)