Based on the source, it's kind of clever. Each "cow" and "haystack" are a pair of radio buttons, so clicking on the cow toggles the select state for both simultaneously. This combines with some fancy CSS animation to make the cows fly around so they're harder to click.