toggle btn not defaulting back to appropriate toggle after clicking on new subpage

I can't use codepen / jifiddle or anything for this example as they only allow you one html file per pen; so instead here is a screen recording to show you the issue:
2 Replies
lafayette
lafayette8mo ago
But essentially here is an explanation: After you do the back button from any of the tool subpages (ex - arch back to the home index page ) The toggle button becomes fucked, it shows you are selected on values, however the buttons it's displaying are reflection subpages not the appropriate value subpages. so what I have to solve is this: once you leave the page if it's toggled to values it needs to automatically TOGGLE BACK TO REFLECTIONS AS DEFUALT - AS THE REFLECTIOSN CONTENT IS STAYED AT DEFAULT...? How would I go about doing that in the javascript. https://codepen.io/gsadopkgj/pen/ZEwEwde the js is here in this codepen
lafayette
lafayette8mo ago
Can someone help pls?