added functionality whereby if a subcomment has subcomments open under it, then all will close when supercomment is pressed