Card layout instead of tab

Addresses #315.