fix for #793, style cleanups
style cleanup
test for panel state
Merge pull request #816 from mapbox/tab-state

Fix style active panel + tests