gpui: Fix uniform list scroll to offset for Top and Bottom strategies (#39938)

Closes #39863

Regressed in https://github.com/zed-industries/zed/pull/36653

Release Notes:

- Fixed an issue where clicking a sticky item in the project panel
wouldn’t correctly scroll the view to show its start.
4dae3a15ccSmit Barmase committed on 10/10/2025, 12:49:58 PM· committed by GitHubparentc6373cc
2 files changedLine totals unavailable