Adding resize on ready.