using NSAttributedString#boundingRectWithSize to calculate the height of rows