fix in the detail view rotation