ui: Fix scrollbar animation timing on web (#61786)

Use `web_time::Instant` instead of `std::time::Instant` when advancing
scrollbar animations. This uses the web platform's compatible clock in
WASM builds.

Release Notes:
- N/A
97961c2a5fGaauwe Rombouts committed on 7/29/2026, 10:07:58 AM· committed by GitHubparentbdb2865
3 files changedLine totals unavailable