button for toggling the panel