allow to disable touch input
additional fix when flipping from right to left