I got a revelation - as colorbar wasn't changing with animation iteration I put it in init() function and draw the first frame there. Voila :)
View entire thread