added and tested smoothscroll.js