wrap text to required width