fix accordion resizing