add terminal window resize