Trigger window resize on view load