updates styles for sidebar