Added condition to set pageShow to correct number
Merge pull request #2501 from ten24/feature-4-showingPageIssue

Added condition to set pageShow to correct number