Make the accordion collapse by clicking on panel

Before, the accordion only activates when you click on the text but now
it works when you click on the whole bar/panel thing