FIx pagination in mobile