Yeah, I think that other ability the zombies have is hearing; they can hear the humans, and walk toward the sound of them. They basically walk in straight lines until something attracts their attention. Sound travels a long way in a quiet world, and all the gunshots cause the zombies to start walking towards the source.
and movement attracts them too. If one walks by another then they will follow. That's how they end up in big groups.