delay execution to allow for page to render