private void RestartAnimationWithWrapping() { var start = SecondsIn - AnimationTotalTime; StartAnimation(); SecondsIn = start > 0f ? start : 0f; }