Changed accordion to receive the click event on the whole header