Changed page effect specification

Changed page effect selector policy.  Before commit, the class name is
used to select as previous-page and next-page.  The selector is now
replaced by nth-of-type() selector, which is supported since CSS3.