Finally! I found the solution, you simply have to call function with all vars
function showProducts($holder, data, minPrice, maxPrice) {
var $price = data.find('li').filter(function() {
var $price = parseInt($(this).data("price"), 10);
return $price >= minPrice && $price <= maxPrice;
});
// call quicksand and assign transition parameters
$holder.quicksand($price, {
duration: 800,
easing: 'easeInOutQuad'
});
return false;
}
Hope that help!