added a gesture detector, googled it. not tested yet
added Tommy's changes, which is jump and gravity