make heartbeat animation