Swipe movement was implemented to make main character jump.