fix number of paginations display at screen