change page up/down implementation