Set arrow key to change window size.