Added buttons to dynamically expland or collapse family tree branches.