setup detail ui