added swipe mechanic and lua file