Different way of detecting scroll type, to fit with the new way of specifying it