Fixed accordian and tabs on click issue