more check with lastitem and counter check with max item > visible items