fixes infinite scroll, pagination links location