gesture recognizer should only begin when horizontally panning

This fixes a problem where you cannot bounce a scrollView inside the MGSwipeTabBarController if it is already scrolled to top or bottom.

It also should not switch to another viewcontroller if you pan up/down in a non-scrollable viewcontroller, in my opinion, which is also fixed by the commit.