> What if you set the scrollTop position to the number of total lines minus the number of visible lines?

I think it would make the code more complex than needed.
I think the Begin/End keys handling could be a contribution to ACE too.