Reorganizing code in Scrolling.js, adding 350ms delay for edge scrollers