Implement naive paging

This is by far not the optimal solution, but gets the job done for now.
TODO: refactor so we can use left, right key  to page