Updated to include setTarget as well as a resetInertia function so keyboard commands can override inertias