remove duplication
only increase page number automatically in case of infinite scrolling