Hide pagination if dynamic nav