resize terminal on contaner dimension changed