Implemented the animation playhead class