added animation stopping