swipe left/right for forward and backward
some further refactoring