Added zero values and CSS3 animations to resizing