Adds basic pagination
Fixes Selenium test