I noticed you do this a lot, do you think it's doable to keep a state in a boolean to know whether the subject is shown or not? Would be better than querying the dom IMO.