changed movement code to work with physics.