added animation end delegate