Fixes accordion display issues