added code for side bar on right side