Adding a pagenavi to function for displaying bookmarks

I recommend to implement a simple an flexible paging mechanism using JavaScript/JQuery/Ajax or using PHP.

If looking for the client side solution, this article about jQuery pagination plugins might be a good starting point for your research.

If you want to make more than one one actual page, you should use PHP. You can introduce a custom query variable for your paging then. Maybe this article will help you with this.