got the orientation working as expected