When you have a long List page with dozens of records, editing or viewing a record on a separate can be cumbersome. After you edit or view a record, clicking ‘Back to List’ will display all the records from the top and you lost the position of the record you just edited. This simple technique will allow you to scroll the List page back to the original position and also it will highlight the record that was just edited or viewed.
To implement this feature in your project, add the following code to respective events.
Add page –> Javasctipt onload event
Add page –> After Record Added event
Edit page / View page –> Bebore Display event
This is it. Enjoy!