Simplify the animation timer logic.
Added the time log implementation.