Changed touchscreen detection math to floating point arithmetic, makes things a lot more acurrate.