added touch stability (I hope)