Fixed scroll-down behavior and added scroll-up