fix accordion resize issue