accept global animate option in setView