fix overflow on resize
allow invalidation though scroll event