Instead of a database trigger, could you use a count against a custom state to trigger? When the count of messages in the repeating group is greater than (custom state, set to previous count of messages), scroll to bottom?