orientation handling for signin controller