Handles vertical scrolling.

- Uses offset on lines element.
- Fixes #2.