Browser resize method added.