[geek_mode]
Galaxies at opposite ends of the Universe are not moving away from each other: The galaxies appear stationary to observers within them.
The space between them is expanding.
Just as it is a property of (some types of) matter that it has mass, and a property of mass that it warps spacetime, it is a property of space that it expands at a constant (though very small) rate.
e.g. If you have a sphere of empty space 1 light year in diameter (I don't have the actual figures to hand, but for example...) it expands at a rate of 1 cm/sec... and a second later it is 1 cm larger, so it is now expanding at 1.00000000000000003 cm/sec, and a second later... It's a bit like compound interest. You get the idea.
Multiply this by billions of light years over billions of years, and this is why the rate of expansion appears to be accelerating.
As for inflation, think of it like this: (to make the numbers and speeds more easy to imagine let's say the "speed of sound" rather than the "speed of light" for this example):
One theory is that the Big Bang was actually a collision between 2 four-dimensional "branes" in a multi-dimensional Multiverse.
Imagine you are at the North pole, and a 2 dimensional plane (actually the surface of a brane) is moving "southwards" at the speed of sound, just about to reach the surface of the Earth. Look around you: the surface of the Earth appears flat, though you know it is very slightly curved.
When the plane/brane reaches the surface, the area of the surface it intersects with
appears to expand faster than the speed of sound, and as it moves further south - through the globe, the rate of expansion
appears to slow down. But the plane/brane's speed is constant through space.
Of course, this is where the analogy breaks down, because the Earth is roughly spherical, so when the plane/brane reaches the equator, the expansion will appear to reverse, and we know that this is not the case: Inflation started REALLY fast, then slowed down dramatically, and is now slowly accelerating.
Therefore the "shape" of the expansion of the Universe must be a bit like a cone, with a sort of at the top, and flaring out at the bottom.
Yes folks, from the outside, our four-dimensional Universe looks like a mind-bogglingly, enormously huge sex toy.

[/geek_mode]