Made CSS animation and added grid generation.