move sidebar to its own plugin