About the hair sway function