more intelligently center text