Rewrite ScrollDirectionListener to work with list's which inequally high...

... listeitems

As request, a pull-request for fixing the ScrollDirectionListener when a list has items of inequal height.