Added the missing toggleNavigationWindow() function

The public toggleNavigationWindow() function is listed in the documentation but it wasn't there.