adding animation after dom ready