Set aspect ratio based on orientation