Added timeout on scroll handler