updated markup and clasess for animation purpose