added autoresize functionality for the edit textarea