public void checkActions() {
        if (mInput.right()) {
            if (currentPageNumber < mSection.getSize() - 2) {
                flipPage(2);
            } else {
                if (currentSectionNumber < sections.length - 1) {
                    currentSectionNumber++;
                    currentPageNumber = 0;
                    mSection = new Section(sections[currentSectionNumber]);
                    flipPage(0);
                    mSectionText.setText(sections[currentSectionNumber]);
                }
            }
        } else if (mInput.left()) {
            if (currentPageNumber == 0 && currentSectionNumber == 0) {
                addContentToStage();
                inContent = true;
            } else {
                if (currentPageNumber > 0) {
                    flipPage(-2);
                } else {
                    if (currentSectionNumber > 0) {
                        currentSectionNumber--;
                        mSection = new Section(sections[currentSectionNumber]);
                        currentPageNumber = (mSection.getSize() % 2 == 0) ? mSection.getSize() - 2 : mSection.getSize() - 1;
                        flipPage(0);
                        mSectionText.setText(sections[currentSectionNumber]);
                    }
                }
            }
        }
    }