reinstating window resize call in example html files