side bar refactory