Implement auto scrolling.