Adds scrolling directive.