a template for the sideBar 100% functionality, no commenting because I am an outlaw. code could use some cleaning up.