Adding a pre-animation block to the animation queue.