NXP-12190: improve script scrolling to the bottom of the import logs to avoid crashing in Firefox