Fixed mobile view conditional that differentiated between page types.
Merge pull request #1196 from pjackson28/master

Fixed mobile view conditional that differentiated between page types