added an option to infinitescroll