implement main and detail scence, still needs add new item support