add basic animation support

it now cycles through frames of animations. its a bit too fast, but ill
fix that later