Set timeout on window resize: updates size every 1 second.