update animation for responsive