Added smooth animation for rear legs