How a person moves around could lead to a diagnosis, scientists have said