a simple pager component