chat history with arrow keys