resize flag