ported from https://github.com/zordius/yui3-gallery/tree/master/src/gallery-zui-scrollhelper
done scrollhelper yogi porting, fix tests