debug in updatePositions for loop, why the style.left update does not seem to get applied on scroll