Sidebar now attaches to correct context, works in contexts other than body