Added auto-scroll directive.