add archive and unarchive view func.
modify index display items logic.