If your pulling this into pages that you do not wish to display it you need only set this variable ($config['iip_call']) to 1 prior to the send_header function.
$config['iip_call'] = "1";
Then that page will not display the side bar. I needed to avoid the bar while displaying the index.