fix old android crash on swipe