set up animation for state 4