fixed a bug where a swipe would select an item