add delay in animation