Stop print from scrolling

You probably need to check before printing, something like:

if (counter != 0 && list[0] != list[1])
{
    Serial.print(counter) ; 
    list[0]= list[1]; //the current value will be the preview value
    Serial.println("=================");
    update_frame();
}