closing span on unregestered page swipe