adding animation transition