updated paginator so it can hold link for current item