prevent duplicate images from pagination when scrolling too quickly