Fixing tests using `scrollTop` instead of the new `scrollOffset`
Added a test for horizontal lists