I am having issues with buttons and changing the state of a page already visited.
I have attached an example of the template that I have created.
I have created a menu in one layer and the back and next buttons on another layer.
When the menu is not hidden and is open in one page and the user clicks on the next button to go to the next page and then clicks on the back button to go back to the previous page the menu remains open rather than being hidden since it overlaps the content in the page.
I hope this makes sense.
The previous button when clicked goes to the previous page, but I want a state that either hides the menu layer or shows the state of the page with the menu layer closed.