pagination filtering with endless scroll and ajax buy button