change the triggers to run after events and let the event it runs after be split from the trigger event for things like accordions