Displaying page number and hiding navigation bar when page count is 1.