Add pagination presenter

Moves controller and view pagination logic into a presenter.