Fix history goof on first card

When we "change" to the first card, we don't want to adjust
window.history since it has an entry for the first card already.
Merge pull request #397 from willkg/history-fix

Fix history goof on first card