sample for infinitescroll combined with popoverbehaviour