Changes made to fix crash. added swipe left and swipe right gestures in
gameplay and mainscene