Raw implementation of the sidebar widget