Prevent swiping to opposite direction from opened state