Added swipe support for up, down, left, right