added swipe support. I think.