I need to make an accordion with instances

Hi I am trying to make a accordion out of 3 instances. However I cannot seem to get one instance to open (trigger) and close the other instances. Anybody know how to get this to work?