Chicks that have trouble hatching sometimes have leg problems. It may be nutritional (their parents nutrition) or genetic. It sounds like its neurological, however, not just a leg problem.
Toxicity from something they ate, weakness from parasites like coccidia, inner ear infection, or avian...