Minor changes

- preventing smack from setting more than one event listener for scroll
- fixed variable names