Added helper method for autosizing height of NSAttributedString