using arrow to trigger animation