added ace option on/off
adde scrollIntoView to latest change.