Use pageSize for the switching results.

fixes #228
Merge remote-tracking branch 'korpling/annis/develop' into develop