rotation fix

fix for Orientation changes persisting when they shouldn't #45