Changes to implement fading block animation