Improve performance fix bugs of accordion