made it so that buttons resize after its destroyed to fill in gap on switchbar