Use widget height to determine how many items to show