How to insert next and back buttons in streamlit and make them interactive with the previous and next page

Hi team,

I have created a navigation bar using option - menu library.
I wanna make it more interactive with the pages, if next and previous buttons are added to a page it should take me to the next or previous tab in the navigation bar.

In the above example if i add next button in home page it should take me to projects page and where as if i select next page in projects page it should take me to contact page and if back button is clicked it should take me to home page.

How do i achive this?

Thanks in advance