Add a checkbox to toggle panels from the frontend.

Fix #35.