Extracted out OnescrollGeneric.