add refresh feature when swiping on history part