fix margin for detail view