Automatically resize the log output area on window resize