added animation flip