Animation helper.