show number of pages - fix for mobile