Added transition to the boxes