track correct counts and current card index; drop relative layout in favor of linear layout