Why do galaxies collide? If the universe is expanding outward, what is the processes for one galaxy to get off track enough to collide with another? 

Say, the Andromeda Galaxy and the Milky Way.
The universe is expanding on a large scale. But locally things are always messy.

Locally, galaxies are not set in stone, they move relative to each other, and the directions are random. If they're moving towards each other fast enough, then they will collide.

Also, there's gravity. Some galaxies are bound to each other by gravity, and that will tend to pull them together.

As to why galaxies move at all, relative to each other - well, things in this universe have kinetic energy, and it's distributed randomly. Being distributed randomly, all kinds of scenarios are possible - things running away from each other, zooming past each other, bumping into each other, etc.

It's a messy and random universe, and the order of expansion becomes apparent only on the largest scale.