shift to using CSS to achieve portrait orientation