Fixed dashboard icon selection in swagger tab

the dashboard icon was marked as selected in swagger tab as well.
Iv'e added a simple check to see if the current location is the swagger tab or not.
fixes #124