Note that this js (hidden in header) script closes any other element when another opens.
a) If the trigger element that was clicked is already open (i.e. has the class "active" on it), then remove the class "active" from the triger element and find the next element and apply slideUP (to close) to that element ("elementToSlideUpDown), but only within the element that was clicked.
b) If and only if "a)" was false, then find all of the "h2.trigger" elements on the page and if NONE of those elements have the "active" class on them (i.e. they are all closed, so that "hasClass 'active" is false), then add the "active" on the element that was clicked only and find the next element ("elementToSlideUpDown") and apply slideDown to (so it opens). Note that this step is for when all of the elements are closed. If one element is open, it prevents another from opening.
c) If and only if both a and b are false, then remove the active class from ANY trigger that may be currently open and slide up the next element (elementToSlideUpDown) to close it. Then, on the element that was clicked, add the class "active" to the trigger and then find the next element (elementToSlideUpDown) and slide it down. This step allows the active trigger to close and ANOTHER one to open.