Implemented turning of canvas according to the data from the orientation
sensor