updated updatePositions(). replaced document.body.scrollTop with currentScrollY. this fied forced synchronous layout issue