Added to check a type at `scrollListener`