The regular request to get new pages is synchronous and needs to be Ajax instead so the page doesn't reload.
The regular request to get new pages is synchronous and needs to be Ajax instead so the page doesn't reload.