Add scrollbars

- add logging of scrollbar position and max position
- bring syntax inline with jshint