added animation loading from XML