Implemented expanding animation.