correct the number of links will_paginate displays