changed toast so that they resize according to content