Fix overlapping panels by removing panel class temporarily