Simplified timer animation function.