Add auto resize on page load