adding animation for movement