sidebar added to home and class pages