pagination: make window_size configurable
Merge pull request #563 from teefax/window_size

pagination: make window_size configurable