Update smooth-scroll.js

old updateUrl function will remove the search