set offset and limit only when in listView