Anchor to link to an openstate of multi-state box

Update: That code actually works, just wasn’t working yesterday for some reason.

One other question… Instead of having the multi-state box open on entering viewport. Is there a way to action the multi-state to open on scroll once past the anchor point?