GTNPORTAL-3113: fix issue where the webui navigation wouldn't work corre...

...ctly on some mobile devices.