This can be done by setting a session variable.
Indicate the object, to which it is necessary to return. Then add the “scroll to entry”, to this state.
I can suggest you a few forum threads and Bubble materials on this matter. Please take a look:
I hope these insights will be useful for you
Regards,