Fitting the pager longer correctly in smaller browser windows