readjusting animation