updates to scroll listener