improved traitBox layout