adding animations to all boxes