Change ad hostname depending on the screen size