added a side bar
bug fixing concerning the side bar