You could also make the IK handle "sticky" in the properties editor. That would make the IK handle stay in place when you move the hip around, and animate the legs according to the movement if the hip.