page up/down and input history