fix ui tests

* JS used the height of the header to calculate the wayfinding offset. When I changed to using z-index/positioning on the individual elements it broke the offset
* The width of the browser window in Sauce caused the TOC to default open, so now the test opens it before attempting to navigate