That's strange, not what I expected.
Just as a sentence on it's own, wouldn't 'толпа' be nominative? (In the second sentence, not the first as someone/something has to be 'passing' in the first one.)