fixed auto layout issues on detail view