Add missing animate scroll for error