Show only Current page Sub Menu in vertical SIDE MENU

I’m trying to create a side menu with a sub menu with links to sections within the page.

Now I want these section links to be visible only on current page. How do I do this??

Read only Link:
Read only link