I think this will solve your problem:
How about looking at this example that I can show so you can see how I put it together. Seems to work for me.
That’s a good question. Not sure.
Maybe try something like this?
That may not work for all browsers. Here is another way to do it for all browsers: https://www.w3schools.com/howto/howto_css_smooth_scroll.asp#section1