fix ios7 gesture support