make detail properties auto-collapse