try changing div size before onload