fixes #1529

Only a single onclick action is added to the viewporttabs. Consequently only one trackNavigationUsage call is made when clicked.