Added sidebar conditional to index view