Hmm, I wish there was a better way to do this using the ace apis. What if you set the scrollTop position to the number of total lines minus the number of visible lines?