Fix vertical gesture touch calculations