In this case there wont be flickering. Its a slow jQuery animation of the image resizing. In fact I like it to load and then animate.  Likewise with the jQuery selector there is never an error. 
It dosent need a code re-write, just putting it back to how it was.