Dynamically resizing ACE editor. Thanks to smschauhan for the help