added version check for manual orientation changes