added ending animation