Add scroll to set value in ace editor