dynamically resize box if very long word