[x] Add IntersectionObserver and scroll to the latest first line displayed after text shift caused by showing/hiding pali
[ ] Add a color indication fading away to indicate which line to look at after scrolling back to the correct part (not working properly when clicking multiple times in a row on the button, but might just be a case scenario that is not interesting us)
[x] Improvements? (for now, takes the third top segment displayed on the viewport, might be impossible to know exactly which one to take into account since we can't eyetrack the user | I should probably just stick to take the very first displayed at the top and put this very first back at the top?)
[x] Can I just make "window.scrollTo();" to work reliably and skip the use of intersectionObserver?
[x] Issue: the sorting does a text sorting and not a number sorting on the ID which causes an issue when having clicked the button to hide pali (e.g. places id finishing by x.10 before id finishing x.2)
[ ] Doesn't work on suttas collections having <article> parent container instead of <p> like AN1.51-60
closes #119
Can I just make "window.scrollTo();" to work reliably and skip the use of intersectionObserver?<article>
parent container instead of<p>
like AN1.51-60