Added another if statement to prevent portal branding on mobile