adjusting animation