add nested animations