update sidebar color for each page