When on a separate history page, set the transaction DisplayPath to that page

DisplayPath controls where the per-txn anchors point, and we want to
stay on the history pages not jump to the record display pages.
Merge branch '4.2/history-display-path'