own paginator functionality with automatic sets of previous/next/first/last and breaks