Stopping moving

Seems like some of the functionality explained in this topic might be relevant as well.