Updated left sidebar code