implement orientation changes in all activities