Small optimization

- few less operations
- added header to callback
Merge pull request #10 from carlonzo/develop.optimizationScrollMethod

Small optimization