Updated sidebar menu walker function