index and sidebar layout revision