Remove the class added during swiping here.