More or less correct scroll-down behavior achieved
Scroll-up behavior added