setting the orientation to portrait