Implement background animation.