Added layout for CSS3 animation