remove whitespace from paginator partial. pages can equal 0