How to make like back to previous page but landing on last element user leave?

hi bubblers, can you give me direction for how to make like back to previous page but it will land on last element user leave?

i was read in forum and found a way like set a url parameter or make separate DB, but i dont know how to achieve that, can you help me?
fyi : im using hide n show element using custom state,

thank you for attention.

Hi @kerjakansemua.work,

You should be able to accomplish this if you use page parameters.

hi @johnny thanks for replying, can you give me example? or step by step? thank you in advance