delete history by click x

delete history by click x