This commit refines the autofocus logic to prevent unwanted jumps
when scrolling, especially after a user interaction.
The changes include:
- Removing the delayed autofocus from the IntersectionObserver
callback to prevent conflicts with user interactions.
- Ensuring that autofocus only moves forward in the list of entries,
preventing backward jumps.
- Prioritizing user-initiated focus, so that if an entry is already
active and visible, the autofocus logic does not interfere.