si usa javascript
dovresti cercare "smooth scrooll" o qualcosa del genere