Tempoary (?) hack to generate href /pageX for prev and next.