resize the siderbar.