Heads-up study of hair dynamics may lead to better hair-care products