added swipe detection, improved handling of touch