in reply to Re^2: Request: Collapsible Side Bar (working solution)
in thread Request: Collapsible Side Bar

You can modify the placement by changing the add_toggle_link function. In there you see this call:

var tbl = document.getElementById('titlebar-bottom');
What it's doing is finding the element to place the toggle link after; in this case the element's id is "titlebar-bottom." One easy way is to always have a certain nodelet on top; in my case that is the XP Nodelet. Then you could change that search to:
var tbl = document.getElementById('XP_Nodelet');
And put the link before, instead of after the one it finds.