changed if statement in setFontSizes() to use isPortrait()