HPCC-11214 Improved Page Refresh, Back and Next

Refresh current page now re-selects tabs as far as possible.
Forward and Back buttons now working better.  Previously back would need to be
pressed twice when navigating over the "default" tab for an inner page.

Fixes HPCC-11214

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #5687 from GordonSmith/HPCC-11214

HPCC-11214 Improved Page Refresh, Back and Next

Reviewed-By: Kevin Wang <kevin.wang@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>