use arrow keys to resize
fix arrow keys