Set selector in instance
Refactor isSwipe method