Tempoary (?) hack to adapt to pageX for prev and next.