Don't show pagination if there is only one page

Simple minor fix for the example.