Re-factor code adding methods "idealNumberOfHorizontalItems", "idealNumberOfVerticalItems" and "idealNumberOfItems"
Re-factor code adding method "scrollPaginationOptions"
On window resize, make sure to fetch items in order to have complete rows.

Also contributed an additional commit to the "scrollpagination" plugin
allowing to force the load independently of the scroll bar.
See https://github.com/andferminiano/jquery-scroll-pagination/pull/6
Prevent additional request from being sent.

See https://github.com/andferminiano/jquery-scroll-pagination/issues/2
and https://github.com/andferminiano/jquery-scroll-pagination/pull/6