Added directive for auto scrolling.
Directives added.