rename AllowNextPrev to showNextPrev