Update detect_up-down_scroll.js