made the microscope rotate depending on its metadata