added optiona for auto rotation (key y).