filter show/hide based on list sizes