ScollPagination WIP: Refactor (scrolling in both directions now works as expected)