Smarter diff algorithm for widget updates

This diff algorithm looks for sequences that have been inserted in the old sequence.