review currentFrame ending, added onAnimEnd
minor fixes