added a progress bar for text lenght v0.2