There probably are a lot of ways to do this. You could try Scroll Window [home] or Go to Object for an object at the top of the layout. Go to Field for a field near the top. I'm guessing it goes to the bottom because you are select a field at the bottom of the layout.
These were my first thoughts too but these script steps didn't work.
There is no field selection at the end of the script, but it does trigger scripts OnRecordLoad to check for FIndMode etc.. These scripts too do not have fields selected either.
I had not seen this behaviour before on other files so it puzzles me. It does not occur at the first ca. 10% of records, but higher then that, it scrolls to the bottom when going to detail view.
This is on a public data set of 4000 validated address records.