Add toggle detail on click