Had maxPage where minPage should have been, caused infinite scrolling after hitting minPage