Avoid double-triggering gotoPage
Fix it so perPage>=total makes numPages=1
Provide class to style per-page dropdown