make sure the ad is refreshed as the user scrolls through the document