Added scroll scaling modes.
Fixed bugs.