conditional sidebar added