Added checkbox for rotation choice