Bug 1054140 - Early return when navigating to the same panel

https://bugzilla.mozilla.org/show_bug.cgi?id=1054140