Better panel

This patch makes the button toggling when a panel is registered, as of #16. Additionally it makes the panel property writeable, so the panel of an existing button can be changed.
The only issue you may run into is caused by the panel showing animation, which temporarily overlays the button. The panel will, when the clicks are timed properly, open again instead of close.