made sidebar dynamic