use arrow keys to go through buffers