Added ios6 swipe fix