add sprite animation class