rem: if (lPtr->topItem + lPtr->fullFitLines > WMGetBagItemCount(lPtr->items)) lPtr->topItem = WMGetBagItemCount(lPtr->items) - lPtr->fullFitLines;
add: if (lPtr->topItem + lPtr->fullFitLines > WMGetArrayItemCount(lPtr->items)) lPtr->topItem = WMGetArrayItemCount(lPtr->items) - lPtr->fullFitLines;
context: WMSetListPosition(WMList *lPtr, int row){    lPtr->topItem = row;    if (lPtr->topItem + lPtr->fullFitLines > WMGetBagItemCount(lPtr->items))	lPtr->topItem = WMGetBagItemCount(lPtr->items) - lPtr->fullFitLines;    if (lPtr->topItem < 0)	lPtr->topItem = 0;        if (lPtr->view->flags.realized)	updateScroller(lPtr);}