Fix pagination NPE when response less than 30 items
Show and hide pagination