Update view.php

remove pagination if more pages