locking image rotation to 90 deg angles