what keeps the messenger bag from shifting around on your back?

I use a backpack (which was cheap and is now starting to fall apart) and can't understand why someone would carry a messenger bag instead.