Using scrollIntoView()

Top
Bottom

Home, more stuff, contact