Added animation direction