turn image in the right direction