change  _currentPanDirection to pubilic value and return  when direction has not viewController