- Cleaned up the code.
- Rewrote the callback of the scrollbar.