animation range check