added initial position all legs on the ground, plus smooth transition along y