[WIP] added threshold parameter enabling to 'look ahead' more then 1 result

would something like this make it better?
I think for large collections this might work well it gives enough navigation to jump a few pages but only loads the results in range.