Moved sidebar to a view helper.