Fix tracing of current page and card

The this.page and this.currCard has been updated when entering _updateContent. And in goToPage(), the current card should be updated at last to show current content.