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>