After every animation end, function will log it below.