update smooth_scrolling.js (cont.)