Updated the formular of ScrollBar operation.

Decided by an equation set which will be described in the blog in the
next few days.