Being able to collapse a thread without having to scroll up and find the root parent would be awesome

I don't know if this goes against the spirit of the question, but https://github.com/plibither8/refined-hacker-news does as you described