[TextEditor] Fixed bug in animation framework.
[SourceEditor] Implemented os x like scroll bar behavior.