Add pause logic and animations.