Modify walking motion