Fix left/right swipe
Added missing fnction