rotate images in 90° increments