Set Active Accordion Dynamically

Set Active Accordion Dynamically

Working on one of my sites


And whenever i change the side menu selection it resets the open acordian, when i am in the "Decade" section how can i change it so it will set the Decade menu as default?