wait for resize to finish before reload