Top and bottom panels now working fine