Returns the ID of the previous item ( an item with the index == current - 1).
var prev_id = data.previous(id);