how do forces keep objects at rest or motion?