fix #15

text resize function added