making UI for sidebar