Sidebar update and border control