Fix over swipe problem