added animation states in unit and added the state in queue