continue refactoring sprite animation, working(?) example