Hide page buttons on search