now hiding dashboard tabs in swagger view

Extended the swagger handler to hide the dashboard tabs when needed.
fixes #129