added resize on scroll