Problem: Filter/category state is URL-persisted via query params, but pressing browser Back/Forward doesn't restore scroll position to the deals section. Users land at the top of the page and have to scroll down again.
Fix:
- Use history.scrollRestoration = 'manual'
- Store scroll key per URL state
- Restore scroll position after render on popstate
Files to modify:
- js/search.js — boot function, URL update functions, add popstate listener
Problem: Filter/category state is URL-persisted via query params, but pressing browser Back/Forward doesn't restore scroll position to the deals section. Users land at the top of the page and have to scroll down again.
Fix:
Files to modify: