remove unnecessory code; change the highlight style of sidebar.