use $.on('scroll') instead of $.scroll()