added heartbeat animation