created sidebar for index