Make sidebar aware of if panes are showing or not.
Make sidebar aware of if panes are showing or not.

Test Plan:
- Load various panes, make sure menu items aren't showing that shouldn't

bbondy/khan-academy-fxos,bbondy/khan-academy-fxos