fixed iOS slide bug