popup defaults to correct orientation