Refactor sidebar style