remove previous edge swipe code