added CSS animation to the tiles