Cursor animation.