Remove offscreen items from the DOM