change way sidebar work a bit