Load previous or next post on button click

Greetings.

On a blog post, we are able to load previous or next item by connecting two buttons( Next Post and Previous Post) to our post collection, we want the loaded post(next or prevoius) to update and then replace the current post by the loaded one. This means updating the whole tab : Post content, the link in the address bar and the title of the post in the tab. HOW THIS CAN BE ACHIEVED?

Note that this is on Editor X.

Thank you in advance.