added page up/down functionality to the console