title: Detecting what section is the user currently looking at
body: <p>So, I have a small problem with figuring out how to detect what section is the user looking at or at least what section is covering most of the screen. I have my content like this: <a href="https://i.stack.imgur.com/s1fFY.jpg" rel="nofollow noreferrer">On the left side I would like to see the name of the section (whatever the name is or the name of the section that is covering most of the screen</a></p>
  
  <p>I'm pretty sure that I saw some websites that use something similar to this but I was haven't been able to find them.</p>
  
  <p>Did anyone want to do something similar? How did you go about doing that?</p>