Fixed horizontal swipe

related to the discussion on #11