adding animation into grid items