added code to reverse animate blocks