[Scenario] Reduce cost to compute timeline layout height
[Scenario] Improve timeline layout performance