Side menu template load page with Javascript

I’ve created an app based on the side menu template and I’m trying to load a page programmatically. When I do so it has a back arrow in the header where the nav button should be. How do I load the screen like it’s launched from the nav bar menu items?