added dynamic side bar