Impress - go to the previously viewed slide

In Impress, is there a way to go to the “previously viewed slide”? To clarify - I have some hidden slides (eg. slide 17 is hidden) in my presentation, which is shown only if I click on links/buttons in a particular slide (eg. a button on slide 6). But after I show Slide17, I should go back to the previously viewed slide (slide 6) when I click next. Is such a slide transition possible in Impress? (The question is somewhat related to the question and answers at openoffice forum topic 54931 - Selective pop-up in slide (View topic) • Apache OpenOffice Community Forum)

thanks and regards