fix wrong "number" field in popup content

… by replacing hacky "same tree kind highlight on hover" with
proper implementation. fixes #1