even resize will make detail panel show correctly.