Changed sidebar generator