adding moving animation for player