Moved prevent default within touchmove and touchend functions