Add animation support to sprite manager