Browser back button to last clicked item in my menu

Hi All! Not sure if animation is the correct category for my inquiry, but I have been working on this website for some time now, and stumbled upon something I can’t figure out. I’m not sure if it needs somme coding too.

I have this projects page and when I click on a certain category (for example, residential), it pulls up a menu of the projects collection. When I click on a project, and try to go back, it directs me back to the main page and not the projects collection menu (if that makes any sense).

To make user experience easier, I was hoping that the browser back button would re-direct me to the projects collection menu and not the main page menu (residential, commercial, arch…)


Here is my website: Portfolio • Mu Peng
Here is my read-only link: Webflow - Official_Mu Peng_Revised