implement slinding pager which show context of 10 pages or 20 pages total if there is enough pages to display