Updating visible items number max