Fix jumpy cards

Fixing jumpy cards problem, and tabifying files.