Move window event callbacks to separate Scroll functions
Refactor scrolling JS

Also, make deactivate() really work both in Swipe and Scroll.