use arrow keys to switch buffers