paginate like git diff (#9)

Please review.