Trying to figgure out how to swtich between horizontal and virtical