Add support for scrolling animation.