function breakColumns2 ($list, col_number, add_class, rm_class) {
    $parent = $list.parent()
    col_len = Math.ceil($list.children().length / col_number)
    cols = [$list]

    for (i = 1; i < col_number; i++) {
        $new_list = $list.clone()
        $parent.append($new_list)
        cols.push($new_list)
    }

    for (i = 0; i < cols.length; i++) {
        start = col_len * i
        end = col_len
        if (start > 0) {
            // Removing items that stay in previous columns
            cols[i].children("li").slice(0, start).remove()
        }
        // Removing items that belong to next columns
        cols[i].children("li").slice(end).remove()
    }
    $last = cols.pop()
    $last.addClass(add_class)
    if (rm_class) {
        $last.removeClass(rm_class)
    }
}


