Create controller for sidebar