@njx, I tried a few things to prevent flickering in Chrome (the commented out section above is one), but it did not help.  Looks like Chrome has some logic to optimize the CSS update and might reorder or ignore some of the instructions.